<template>
  <view class="no-permission">
    <view class="title">无权限进行此操作，请联系管理员</view>
    <view class="btn-box">
      <button class="btn" type="primary" @click="toIndex">回到首页</button>
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {

      }
    },
    methods: {
      toIndex() {
        uni.reLaunch({
          url: '/pages/entrance/index/index'
        })
      },
    }
  }
</script>

<style lang="scss" scoped>
.no-permission {
  height: 100vh;
  background-color: $white;
  .title {
    padding: 25vh 40rpx 0;
    text-align: center;
    font-size: 40rpx;
  }
}
.btn-box {
  margin-top: 200rpx;
  padding: 0 115rpx;
  .btn {
    text-align: center;
    background-color: $primary;
  }
}
</style>
